home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / shadez.swf / scripts / Local / Draw / CScreen_LoadingLevel.as < prev    next >
Text File  |  2011-08-19  |  1KB  |  64 lines

  1. package Local.Draw
  2. {
  3.    import Local.Game.CGame;
  4.    import flash.display.MovieClip;
  5.    import flash.events.Event;
  6.    
  7.    public class CScreen_LoadingLevel extends CScreen
  8.    {
  9.       
  10.       public static const GAME_LOADED:String = "GAME_LOADED";
  11.        
  12.       
  13.       public var mGame:CGame;
  14.       
  15.       public var mcBackground:MovieClip;
  16.       
  17.       public var mcLogo:MovieClip;
  18.       
  19.       public var mcSize:MovieClip;
  20.       
  21.       public function CScreen_LoadingLevel()
  22.       {
  23.          super();
  24.          AddLogoButton();
  25.       }
  26.       
  27.       override public function Process() : void
  28.       {
  29.          super.Process();
  30.          var _loc1_:* = mState;
  31.          if("normal" === _loc1_)
  32.          {
  33.             ┬º┬ºpush(0);
  34.             if(true)
  35.             {
  36.             }
  37.          }
  38.          else
  39.          {
  40.             ┬º┬ºpush("gameloaded" === _loc1_ ? 1 : 2);
  41.          }
  42.          switch(┬º┬ºpop())
  43.          {
  44.             case 0:
  45.                mGame = new CGame();
  46.                if(true)
  47.                {
  48.                   mState = "gameloaded";
  49.                   if(true)
  50.                   {
  51.                      break;
  52.                   }
  53.                   addr38:
  54.                   break;
  55.                }
  56.                break;
  57.             case 1:
  58.                dispatchEvent(new Event(GAME_LOADED));
  59.                ┬º┬ºgoto(addr38);
  60.          }
  61.       }
  62.    }
  63. }
  64.